<template>
    <div></div>
</template>
<script>
export default {
    mounted(){
        // oauth
        var APPID = "wx92e23e5b5cfee7c3";
        let callbackUrl = encodeURIComponent("http://39.98.134.216:7000/redirect.html?router_path=about&c=3&g=3") 
       location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${APPID}&redirect_uri=${encodeURIComponent("http://39.98.134.216/oauth/index.php")}&response_type=code&scope=snsapi_userinfo&state=${callbackUrl}&connect_redirect=1#wechat_redirect`
    }
}
</script>